home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19950726-19950929
/
000008_news@columbia.edu_Thu Jul 27 13:39:55 1995.msg
< prev
next >
Wrap
Internet Message Format
|
1995-12-25
|
3KB
Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA09975
(5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Thu, 27 Jul 1995 11:55:21 -0400
Received: by apakabar.cc.columbia.edu id AA23322
(5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Thu, 27 Jul 1995 11:55:19 -0400
Path: news.columbia.edu!panix!news.mathworks.com!zombie.ncsc.mil!cs.umd.edu!mojo.eng.umd.edu!cwmills.umd.edu!not-for-mail
From: gdead@Glue.umd.edu (Alan Neustadtl)
Newsgroups: comp.protocols.kermit.misc
Subject: Help with input statement in a script file
Date: 27 Jul 1995 09:39:55 -0400
Organization: Project Glue, University of Maryland, College Park
Lines: 60
Message-Id: <3v84vb$t3r@cwmills.umd.edu>
Nntp-Posting-Host: cwmills.umd.edu
Apparently-To: kermit.misc@watsun.cc.columbia.edu
*** Somewhat long post because session log is included ***
Okay kermit gurus.....I am using ckermit for os/2 and attempting
to automate a login to our university annex server. I am trying to
use the input statement to "look" for the typical Username:, Password:
strings.
Here is the problem. Our annex server blasts out so much of
a message, I think, that the input buffer becomes overloaded. I have
done a few things: 1) logged in with debug to look for hidden characters,
2) checked \v(input), \v(inchar), and \(incount).
The input statement I use is:
input 30 Username:
Here is what my server is blasting out after the modem
connects (prefaced with > for clarity):
>Annex Command Line Interpreter * Copyright 1991 Xylogics, Inc.
>
>Checking authorization, Please wait...
>Attached to annex8/29
>
>A WAM username and password are required for access to this modem pool.
>Use xxx-xxxx for non authenticated access. Contact the CSC Consulting Lab
>in the CSS Bldg, room 3326 or call 405-1500 for more information.
>
>WAM/Annex Username:
And, here are the contents of various memory variables:
>[D:\DESKTOP1] C-Kermit>echo \v(input)
>326 or call 405-1500 for more information.
>
>WAM/Annex Username:ed to annex8/19
>
>A WAM username and password are required for access to this modem pool.
>Use 403-4333 for non authenticated access. Contact the CSC Consulting Lab
>in the CSS Bldg, room 3
>[D:\DESKTOP1] C-Kermit>echo \v(inchar)
>
>[D:\DESKTOP1] C-Kermit>echo \v(incount)
>1
>[D:\DESKTOP1] C-Kermit>
The \v(inchar) appears to be a null or blank.
Any suggestions about how to further debug this problem or
any solutions to try?
Best,
Alan
Alan Neustadtl
Department of Sociology
University of Maryland
College Park, MD 20742
ALAN@BSS1.UMD.EDU